import axios from 'axios';

const instance = axios.create({
  baseURL: '/qq-map-api',
});

instance.interceptors.response.use(
  (res) => {
    return res.data;
  },
  (error) => {
    return Promise.reject(error);
  }
);
export default instance;
